package com.zjdiepu.www.enums;

import com.zjdiepu.www.base.core.BaseEnum;

/**
 * 中转服务器数据处理状态
 * @author xiongxiaotun
 *
 */
public enum TransferHandleStatus implements BaseEnum {
	/**
	 * 接收成功
	 */
	JIE_SHOU_CHENG_GONG(10, "接收成功"),
	/**
	 * 处理成功
	 */
	CHU_LI_CHENG_GONG(100, "处理成功"),
	/**
	 * 返回成功
	 */
	FAN_HUI_CHENG_GONG(200, "返回成功"),
	/**
	 * 发送成功
	 */
	FA_SONG_CHENG_GONG(300, "发送成功"),
	/**
	 * 本地处理异常
	 */
	BEN_DI_CHU_LI_YI_CHANG(9000, "本地处理异常"),
	/**
	 * 发送失败
	 */
	FA_SONG_SHI_BAI(9100, "发送失败");
	
	private Integer code;
	
	private String value;

	public Integer getCode() {
		return code;
	}

	public String getValue() {
		return value;
	}

	private TransferHandleStatus(Integer code, String value) {
		this.code = code;
		this.value = value;
	}

}
